/**
 * @filename:SaleOrder Feb 18, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(销售订单实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sale_order")
@ApiModel(value="t_sale_order对象", description="销售订单表")
public class SaleOrder extends Model<SaleOrder> {

	private static final long serialVersionUID = 1739844888173032L;
	
	@TableId(value ="Id", type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "编号")
    private Long Id;
    
    @TableField(value = "CusTomer") 	
	@ApiModelProperty(name = "CusTomer" , value = "终端客户")
    private String CusTomer;
    
    @TableField(value = "CusBillNo") 	
	@ApiModelProperty(name = "CusBillNo" , value = "客户订单号")
    private String CusBillNo;
    
    @TableField(value = "InDate") 	
	@ApiModelProperty(name = "InDate" , value = "下单日期")
    private Date InDate;
    
    @TableField(value = "WeekNo") 	
	@ApiModelProperty(name = "WeekNo" , value = "周数")
    private String WeekNo;

    @TableField(value = "SyncNo")
    @ApiModelProperty(name = "SyncNo" , value = "同步单号")
    private String SyncNo;
    
    @TableField(value = "User") 	
	@ApiModelProperty(name = "User" , value = "人员")
    private String User;

    @TableField(value = "FCustId")
    @ApiModelProperty(name = "FCustId" , value = "结算客户")
    private String FCustId;

	@Override
    public Serializable pkVal() {
        return this.Id;
    }
   
}
